module.exports = {
  appId: 'albergao.com.app',
  asar: true,
  // icon: './logo.ico',
  directories: {
    output: 'dist/electron'
  },
  asarUnpack: ['node_modules/esbuild', 'node_modules/esbuild-windows-64'],
  files: [
    '**/*',
    `!**/database/*`, // 把database刨除
    `!**/docker-debian/*`, // 把database刨除
    `!**/.vscode/*`, // 把database刨除
    '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}',
    '!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}',
    '!**/node_modules/*.d.ts',
    '!**/node_modules/.bin',
    '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}',
    '!.editorconfig',
    '!**/._*',
    '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}',
    '!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}',
    '!**/{appveyor.yml,.travis.yml,circle.yml}',
    '!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}'
  ],
  win: {
    target: [
      {
        target: 'portable',
        arch: ['x64', 'ia32']
      }
    ]
  }
}
